﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OracleClient;
using System.IO;

namespace OracleDAL.ElecBoss
{
    public class login
    {
        public int addDutyStat(string sqlStr)
        {
           // WriteLogFile(System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "更新ONLINE_USER表", "", "登录", "用户登录更新在线用户信息", sqlStr);
            int result = DBUtility.OracleHelper.ExecuteSql(sqlStr);
           // WriteLogFile(System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), "更新ONLINE_USER表", "", "登录", "用户登录更新在线用户信息", result.ToString());
            return result;
        }
        public DataSet getDutyNumber(string strSql)
        {
            DataSet ds = new DataSet();
            ds = DBUtility.OracleHelper.Query(strSql);
            return ds;
        }
    }
}
